<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <li th:each="map:${map}">
        <div th:text="${map.key}"></div>
        <div th:text="${map.value.subject}"></div>
    </li>

</body>
</html>